<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">$board_title - $lang[notice_management]</td>
			<td class="tright"></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="10%">NO.</th>
			<th width="60%">$lang[category_name]</th>
			<th width="20%">$lang[number_themes]</th>
			<th width="10%">$lang[operation]</th>
		</tr>
<!--
EOT;
foreach ($cat_rt as $val){
print <<<EOT
-->			
		<tr >
			<td>$val[uid]</td>
			<td>
			<form action="admincp.php?module=board_category" method="post">
			<input type="hidden" name="action" value="edit"/>
			<input type="hidden" name="ps_name" value="$board_name_code"/>
			<input type="hidden" name="uid" value="$val[uid]"/>
			<input type="text" name="category_name" id="category_name" value="$val[category_name]" size="30" maxLength="100" class="text" /> <input type="submit" name="Submit" value="$lang[laws] " />
			</form>
			</td>
			<td>$val[category_record]</td>
			<td><a href="$val[del]">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->	
		
	</table>
	
	<form action="admincp.php?module=board_category" method="post">
	<input type="hidden" name="action" value="add"/>
	<input type="hidden" name="ps_name" value="$board_name_code"/>
	<input type="hidden" name="uid" value="$uid"/>
	<table cellpadding="0" cellspacing="1" class="list1" style="margin-top:20px;">
		<tr><th colspan="2">$lang[add_category]</th>
		</tr>
		<tr >
			<td class="td_left1" width="40%">$lang[category]
		  <p class="cpsm">$lang[category_msn].</p></td><td><input type="text" name="category_name" id="category_name" value="$category_name" size="30" maxLength="100" class="text" /> <input type="submit" name="Submit" value="$lang[add_category]" /></td>
		</tr>
	</table>
	</form>
</div>
<!--
EOT;
?>-->